package org.example.travel_web.dto.attraction;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PageResp {
    /**
     * 景点 ID
     */
    @Schema(description = "景点 ID")
    private Integer attractionId;

    /**
     * 景点名称
     */
    @Schema(description = "景点名称")
    private String name;

    /**
     * 分类 ID
     */
    @Schema(description = "分类 ID")
    private Integer categoryId;
    /**
     * 分类名称
     */
    @Schema(description = "分类名称")
    private String categoryName;

    /**
     * 地址
     */
    @Schema(description = "地址")
    private String address;
    /**
     * 封面
     */
    @Schema(description = "封面")
    private String pic;

    /**
     * 特色亮点
     */
    @Schema(description = "特色亮点")
    private String features;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
